package com.manager.devicemanager.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 设备表
 * </p>
 *
 * @author wpf
 * @since 2025-05-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value="t_device_info",schema="public")
@Schema(name = "DeviceInfo", description = "设备表")
public class DeviceInfo implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;
    @Schema(description = "设备名称")
    private String name;
    @Schema(description = "编号")
    private String code;
    @Schema(description = "IP地址")
    private String ipaddr;
    @Schema(description = "经度")
    private String lng;
    @Schema(description = "维度")
    private String lat;
    @Schema(description = "设备类型")
    private String type;
    @Schema(description = "数据库序号")
    private String datasourceindex;
    @Schema(description = "设备状态")
    private String status;
    @Schema(description = "设备序号")
    private Integer deviceindex;
    @Schema(description = "消息队列主题，预警")
    private String topic;
    @Schema(description = "场地")
    private String site;
     @Schema(description = "地点")
    private String location;
     @Schema(description = "备注")
    private String remark;
     @Schema(description = "高度")
    private String height;
     @Schema(description = "样品数量/容量")
     private String samplecount;




}